package com.beidouin.GnssMain;

/**
 * Created by flyingfluff on 16/9/12.
 */


public class EventSerialReceive {

    public static final int EVENT_UPDATE_ACTIVITY = 0;  //update activities
    public static int ACTIVITY = 1;  //update activities

    //const int like EVENT_XXX
    public int eventType;

    //used when msgId = EVENT_UPDATE_ACTIVITY
    public int iData = 0;
    public static final int UPDATE_MAIN = 1;
    public static final int UPDATE_SATELLITE = 2;
    public static final int UPDATE_MAP = 4;
    public static final int UPDATE_NMEA = 16;
    public static final int UPDATE_SATELLITE2 = 16;


    //used for updating activities
    public EventSerialReceive(int type, int mask){
        eventType = type;
        iData = mask;
    }
}
